<script type="text/javascript">var {$ID_COMP}_val = 0;</script>
<table class="listBoxDre">
	<tr>
		<td class="tdListBoxEsq">
			<select name="{$NAME_COMP}_source" id="{$ID_COMP}_source" multiple="multiple" {$STYLE_COMP} {$CLASS_COMP}>
				{section loop=$ARR_DADOS_ORIGEM name=cont}
					<option value="{$ARR_DADOS_ORIGEM[cont][0]}">{$ARR_DADOS_ORIGEM[cont][1]}</option>
				{/section}
			</select>
		</td>
		<td  class="tdListBoxCentro">
			<input type="button" style="width:30px" name="insere" value="&gt;&gt;"
				onclick="addListBox('{$ID_COMP}_source','{$ID_COMP}_dest','{$NAME_COMP}')" />
			<br />
			<input type="button" style="width:30px" name="deleta" value="&lt;&lt;"
				onclick="delListBox('{$ID_COMP}_dest','{$ID_COMP}_source','{$NAME_COMP}')" />
			<br />
		</td>
		<td  class="tdListBoxDir">
			<select name="{$NAME_COMP}_dest" id="{$ID_COMP}_dest" multiple="multiple" {$STYLE_COMP} {$CLASS_COMP}>
				{section loop=$ARR_DADOS_DESTINO name=cont}
					<option value="{$ARR_DADOS_DESTINO[cont][0]}">{$ARR_DADOS_DESTINO[cont][1]}</option>
				{/section}
			</select>
		</td>
	</tr>

</table>

<div id="campos_{$NAME_COMP}">
{section loop=$ARR_DADOS_DESTINO name=cont}
	<input type="hidden" name="{$NAME_COMP}_{$ARR_DADOS_DESTINO[cont][0]}" id="{$NAME_COMP}_{$ARR_DADOS_DESTINO[cont][0]}" value="{$ARR_DADOS_DESTINO[cont][0]}" />
{/section}
</div>